import sys

def fab(max):
    n, a, b = 0, 0, 1
    L = []
    while n < max:
        L.append(b)
        a, b = b, a + b
        n = n + 1
    return L
 
def main(argv):
    if len(argv) == 1:
        print "Error!\nUsage: " + argv[0] + ' number'

    else:
        for n in fab(int(argv[1])):
            print n
          
if __name__ == '__main__':
    main(sys.argv)


